{% extends "bugs/base.html" %}
{% block main %}
<h2>{% block formtitle %}Custom form{% endblock %}</h2>
<div id="formcontent">
{% block formcontent %}
{% if form.is_multipart %}
    <form enctype="multipart/form-data" method="post" action=".">
{% else %}
    <form method="post" action="">
{% endif %}

{% if form.project.errors %}<p class="formerrors">{{ form.project.errors }}</p>{% endif %}
{% if form.kind.errors %}<p class="formerrors">{{ form.kind.errors }}</p>{% endif %}
	
<p>{{ form.summary.label_tag }}{% if form.summary.field.required %}<font color="red">*</font>{% endif %}</p>
{% if form.summary.errors %}<p class="formerrors">{{ form.summary.errors }}</p>{% endif %}
<p>{{ form.summary }}</p>
 

<p>{{ form.description.label_tag }}{% if form.description.field.required %}<font color="red">*</font>{% endif %}</p>
{% if form.description.errors %}<p class="formerrors">{{ form.description.errors }}</p>{% endif %}
<p>{{ form.description }}</p>

<p>{{ form.owner.label_tag }}{% if form.owner.field.required %}<font color="red">*</font>{% endif %}</p>
{% if form.owner.errors %}<p class="formerrors">{{ form.owner.errors }}</p>{% endif %}
<p>{{ form.owner }}</p>

<p>{{ form.severity.label_tag }}{% if form.severity.field.required %}<font color="red">*</font>{% endif %}</p>
{% if form.severity.errors %}<p class="formerrors">{{ form.severity.errors }}</p>{% endif %}
<p>{{ form.severity }}</p>  
  
{{ form.status }}  
{{ form.project }}	
{{ form.kind }}
{{ form.reporter }}


<p><input type="submit" value="Сохранить"></p>
</form>
{% endblock %}
</div>
{% endblock %}


